package com.weishenai.customerassistant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weishenai.customerassistant.entity.sys.SysRoleEntity;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author weishenai
 * @since 2021-11-27
 */
public interface SysRoleService extends IService<SysRoleEntity> {
    List<SysRoleEntity> ListRolesByUserId(Long id);

    Page<SysRoleEntity> getRoleList(String name, long currentPage, long pageSize);
}
